package com.i8office.android.zhihuixinwu.module.contract;

import com.cyan.tools.base.BasePresenter;
import com.cyan.tools.base.BaseView;
import com.cyan.tools.callback.RequestCallback;

import java.util.ArrayList;

import io.reactivex.disposables.Disposable;

/**
 * Created by pc on 2018/7/7.
 */

public interface OpinionContract {
    interface Model {
        Disposable getPublicOpinion(RequestCallback<ArrayList<String>> callback);
        Disposable getPrivateOpinion(RequestCallback<ArrayList<String>> callback);
    }

    interface View extends BaseView{
        void showResult(ArrayList<String> data);
        void showEmpty();
        void showError();
    }

    interface Presenter extends BasePresenter{
        void getPublicOpinion();
        void getPrivateOpinion();
    }
}
